package org.sunflower.clean;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.sunflower.clean.aop.Notice;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2021-09-26 16:38
 **/
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping
    @Notice
    public String hello(String name) {

        return name;
    }
}
